Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  Edit a Sublayout
Prev Next

Because the WYSIWYG editor reformats code, once the Sublayout has been edited in Visual Studio it should no longer be edited with the WYSIWYG editor.  To edit a Sublayout:

  1. through the Sitecore Desktop:
    1. Log in to the Sitecore Desktop on a development server as a user with appropriate permissions.
    2. Open Layout Studio.
    3. Choose File » Open » Sublayout and select the Layout to edit.
    4. Drag and drop Renderings, Sublayouts and/or Placeholders from the tree on the left into the Sublayout.
  2. using Microsoft® Visual Studio .NET:
    1. Open the project in Visual Studio.
    2. Open Solution Explorer and navigate to the folder containing the Sublayout (usually /layouts).
    3. If the Sublayout is not already included in the project, right-click on it and include it in the project.
    4. Open the Sublayout.

Prev Next